﻿using BaseData.API.Read.Dtos;
using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Read.Applications.Commands
{
    /// <summary>
    /// 管理用户显示页面
    /// </summary>
    public class UserQueryCommand:IRequest<ApiResult<ApiPaging<UsersDTO>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string? UserNickname { get; set; }
    }
}
